Skip to content

Conversation

@flomedja
Copy link
Contributor

@flomedja flomedja commented Nov 21, 2025

Fixes #

#15823

Proposed Changes

Add terminationGracePeriodSeconds in the probe Mask used for the container probes. This will allw it to be configurable for the container probes. I add the issue #16256 to validate the the startup probes for user and sidecar containers.

Release Note

Add  `terminationGracePeriodSeconds` support for user and sidecar container probes

@knative-prow knative-prow bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 21, 2025
@knative-prow
Copy link

knative-prow bot commented Nov 21, 2025

Hi @flomedja. Thanks for your PR.

I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@knative-prow knative-prow bot requested review from dsimansk and skonto November 21, 2025 20:36
@codecov
Copy link

codecov bot commented Nov 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.06%. Comparing base (6d9d1b6) to head (3ee3f3a).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16255      +/-   ##
==========================================
- Coverage   80.09%   80.06%   -0.03%     
==========================================
  Files         215      215              
  Lines       13361    13362       +1     
==========================================
- Hits        10701    10698       -3     
- Misses       2300     2304       +4     
  Partials      360      360              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@flomedja flomedja force-pushed the 15823-add-terminationgraceperiodseconds-for-containers-and-sidecar-containers-liveness-probes branch from 07930a5 to ebeeacb Compare November 21, 2025 21:05
@knative-prow knative-prow bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 21, 2025
@flomedja
Copy link
Contributor Author

@dsimansk @skonto Can you help to rerun the failed e2e test ?

@linkvt
Copy link
Contributor

linkvt commented Nov 22, 2025

/retest

@linkvt
Copy link
Contributor

linkvt commented Nov 22, 2025

/ok-to-test

@knative-prow knative-prow bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 22, 2025
@flomedja
Copy link
Contributor Author

@dsimansk @skonto just a little reminder for the review :)

ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/",
tests := []containerValidationTestCase{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we revert the formatting to how it was - it will make the diff simpler

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dprotaso it's done :)

@flomedja flomedja force-pushed the 15823-add-terminationgraceperiodseconds-for-containers-and-sidecar-containers-liveness-probes branch from ebeeacb to 403a8ad Compare December 11, 2025 22:59
@knative-prow knative-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Dec 11, 2025
@flomedja flomedja force-pushed the 15823-add-terminationgraceperiodseconds-for-containers-and-sidecar-containers-liveness-probes branch from 403a8ad to ca88913 Compare December 11, 2025 23:26
@knative-prow knative-prow bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 11, 2025
@flomedja flomedja force-pushed the 15823-add-terminationgraceperiodseconds-for-containers-and-sidecar-containers-liveness-probes branch from ca88913 to f4bb5a1 Compare December 11, 2025 23:33
@flomedja flomedja force-pushed the 15823-add-terminationgraceperiodseconds-for-containers-and-sidecar-containers-liveness-probes branch from f4bb5a1 to 3ee3f3a Compare December 11, 2025 23:45
@knative-prow knative-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Dec 11, 2025
@dprotaso
Copy link
Member

/retest

@dprotaso
Copy link
Member

/lgtm
/approve

thanks for the change

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Dec 17, 2025
@knative-prow
Copy link

knative-prow bot commented Dec 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, flomedja

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 17, 2025
@dprotaso
Copy link
Member

/retest

@knative-prow knative-prow bot merged commit 343df7e into knative:main Dec 18, 2025
281 of 284 checks passed
@flomedja flomedja deleted the 15823-add-terminationgraceperiodseconds-for-containers-and-sidecar-containers-liveness-probes branch January 10, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants